package meihua.stopcarapp.widget;

import android.content.Context;
import android.support.annotation.AttrRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;

import meihua.stopcarapp.R;
import meihua.stopcarapp.utils.UIUtils;

/**
 * Name: LGZ
 * Time: 2017/5/16.
 * Dec:
 */

public class RepairImageView extends FrameLayout {

    public RepairImageView(@NonNull Context context) {
        super(context);
        initView();
    }

    public RepairImageView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        initView();
    }

    public RepairImageView(@NonNull Context context, @Nullable AttributeSet attrs, @AttrRes int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initView();
    }

    void initView(){
        View view = UIUtils.inflate(R.layout.activity_repair_image_layout);
        this.addView(view);
    }

}
